<?php
namespace frontend\bootstrap;

use Yii;
use yii\data\Pagination;
use yii\base\BootstrapInterface;

class DiBootstrap implements BootstrapInterface
{

    public function bootstrap($app)
    {
        Yii::$container->set(Pagination::class, [
            'pageParam'     => 'page-index',
            'pageSizeParam' => 'page-size',
        ]);
    }
}